package ahut2020.day14;

public class SubSet1 {
    public static void main(String[] args) {
        int n = 10;
        for (int i = 0; i < (1 << n); i++) {
            for (int j = n - 1; j >= 0; j--) {
                System.out.print((i >> j) & 1);
            }
            System.out.println();
        }
    }
}
